from django.shortcuts import HttpResponse, render

from user.models import Classes


def main_index(request):
    classes = Classes.objects.all()

    return render(request, 'drf_study/main_index.html',context={
        'classes': classes,
    })
